package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_cabinet_log")
@ApiModel(value = "XhCabinetLog对象", description = "")
public class XhCabinetLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("机柜ID")
    private Integer cabinetId;

    @ApiModelProperty("电池仓ID")
    private Integer aisleId;

    @ApiModelProperty("电池仓编号")
    private Integer aisleNo;

    @ApiModelProperty("用户类型:2.门店 5.配送员6.C端客户")
    private Integer userType;

    @ApiModelProperty("关联用户ID")
    private Integer userId;

    @ApiModelProperty("1.开门,2.关门.3.取出电池 4.放入电池 5.上线 6.下线")
    private Integer action;

    @ApiModelProperty("关联电池ID")
    private Integer batteryId;

    @ApiModelProperty("关联电池编号")
    private String batteryNo;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
